<template>
  <div class="app-container">
    <el-row class="app-table-head">{{ info.title }} 交易详情</el-row>
    <el-table v-loading="listLoading" :data="datas" :empty-text="empty_text" element-loading-text="Loading" border fit stripe highlight-current-row show-summary>
      <!-- <el-table-column type="selection" width="50"></el-table-column> -->
      <el-table-column prop="id" label="序号" align="center" width="180"></el-table-column>
      <el-table-column label="商品名称">
        <template slot-scope="scope">
          {{ scope.row.title }}
        </template>
      </el-table-column>
      <el-table-column label="服务方式">
        <template slot-scope="scope">
          {{ scope.row.organizationId }}
        </template>
      </el-table-column>
      <el-table-column label="单价" prop="price">
        <template slot-scope="scope">
          {{ scope.row.price }}
        </template>
      </el-table-column>
      <el-table-column label="数量" prop="chargeId">
        <template slot-scope="scope">
          {{ scope.row.chargeId }}
        </template>
      </el-table-column>
      <el-table-column label="金额" prop="price">
        <template slot-scope="scope">
          {{ scope.row.price }}
        </template>
      </el-table-column>
      <el-table-column align="center" prop="created_at" label="时间" width="200">
        <template slot-scope="scope">
          <i class="el-icon-time" />
          <span>{{ scope.row.display_time }}</span>
        </template>
      </el-table-column>
    </el-table>
    <el-pagination
      layout="total, sizes, prev, pager, next, jumper"
      :current-page="listParam.currentPage"
      :page-sizes="[5, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75]"
      :page-size="listParam.pagesize"
      :total="listParam.total"
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
    ></el-pagination>
  </div>
</template>
<script src="./index.js"></script>
<style lang="scss" src="./index.scss"></style>
<style lang="scss" scoped src="./index.scoped.scss"></style>
